<?php /* Smarty version 2.6.26, created on 2018-07-26 05:38:53
         compiled from D:%5Citemstudy%5Citem/admin%5Ctemplates/goods_order/seller_detail.html */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "index/header.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?> 
<div class="cnav"><a href="javascript:;" class="back">需求详情</a></div>
<style type="text/css">
.oinfo{ width:100%; background:#f8f8f8; float:left; }
.oinfo .address{ width:380px; height:100px; padding:10px; border-right:1px solid #efefef; float:left; } 
.oinfo .address dl{ width:100%; float:left; }
.oinfo .address dl dt{ width:80px; float:left; }
.oinfo .address dl dd{ width:300px; float:left; }

.oinfo .orow{ margin-left:385px; padding:10px; position:absolute; float:left; }
.oinfo .orow dl{ width:100%; float:left; }
.oinfo .orow dl dt{ width:80px; padding:0 0 0 20px; float:left; }
.oinfo .orow dl dd{  float:left; }


.info{ width:100%; padding:10px 0 10px 0; float:left; }
.info .name{ width:100%; padding:10px 0 10px 0; float: left; }
.info .name span{ font-size:16px; float:left; }
.info .name a{ padding:5px 0 0 0; float:right; }

.oprice{ width:100%; padding:15px 0 0 0; float:left; }
.oprice .pr{ float:left; }
.oprice .pr dl{ padding:0 20px 0 0; float:left; }
.oprice .pr dl dt{ float:left; }
.oprice .pr dl dd{ float:left; }
.orow .guige{  color: #000;  padding-left:15px;  }
</style>
<div class="main">
	<div class="oinfo">
		<div class="address">
			<div class="name"></div>
			<div class="con"> 
				<dl>
					<dt>标题：</dt>
					<dd><?php echo $this->_tpl_vars['detail']['title']; ?>
></dd>
				</dl>
				<dl>
					<dt>分类：</dt>
					<dd><?php echo $this->_tpl_vars['detail']['name']; ?>
</dd>
				</dl> 
				<dl>
					<dt>发布人：</dt>
					<dd><?php echo $this->_tpl_vars['detail']['nick']; ?>
</dd>
				</dl> 
				<dl>
					<dt>发布时间：</dt>
					<dd><?php echo $this->_tpl_vars['detail']['addtime']; ?>
</dd>
				</dl> 
			</div>
		</div>
		<div class="orow">
			<dl>
				<dt>规格：</dt>
				<dd><?php echo $this->_tpl_vars['detail']['goods_guige']; ?>
</dd>
			</dl> 
			<dl>
				<dt>竞标状态：</dt>
				<dd><?php if ($this->_tpl_vars['detail']['tbzt'] == 0): ?>投标进行中<?php else: ?>投标已完成<?php endif; ?></dd>
			</dl>
			<dl>
				<dt>竞标人数：</dt>
				<dd><?php echo $this->_tpl_vars['detail']['tbs']; ?>
</dd>
			</dl>
			<dl>
				<dt>备注：</dt>
				<dd><?php echo $this->_tpl_vars['detail']['bz']; ?>
</dd>
			</dl>
		</div> 
	</div>
	<div class="info">
		<div class="name">
			<span>投标信息</span>
		</div>
		<div class="con">
			<table class="ltable">
				<thead>
					<tr> 
						<th width="160">投标人</th>
						<th width="120">投标报价</th>
						<th width="320">投标优势</th>
						<th width="100">投标状态</th>
						<th></th>
					</tr>
				</thead>
				<tbody>
			<?php if ($this->_tpl_vars['tb']): ?>
				<?php $_from = $this->_tpl_vars['tb']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['i']):
?>
					<tr>
						<td><?php echo $this->_tpl_vars['i']['nick']; ?>
</td>
						<td><?php echo $this->_tpl_vars['i']['money']; ?>
</td>
						<td><?php echo $this->_tpl_vars['i']['mjbz']; ?>
</td>
						<td><?php if ($this->_tpl_vars['i']['iscg'] == 0): ?>竞标中<?php elseif ($this->_tpl_vars['i']['iscg'] == 1): ?>竞标成功<?php elseif ($this->_tpl_vars['i']['iscg'] == 2): ?>竞标失败<?php endif; ?></td>
						<td></td>
					</tr>
				<?php endforeach; endif; unset($_from); ?>
			<?php else: ?>
				<tr><td colspan="7">还没有人投标！</td></tr>
			<?php endif; ?>
				</tbody> 
			</table> 
		</div>
	</div> 
</div>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "index/footer.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?> 